﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="GroupPermissions.aspx.cs"
    Inherits="QLHD.Account.GroupPermissions" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style>
        .permission-list td table td input
        {
        	float:left;
        	margin-right:5px;
        }

    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div style="height: 400px;">
        <div class="" style="height: 350px; overflow:scroll; width:97%; padding-left:15px;">
            <asp:Repeater ID="rptDummy" runat="server" OnItemDataBound="rptDummy_OnItemDataBound">
                <HeaderTemplate>
                    <table style="height: 100%;" class="permission-list" border="1">
                </HeaderTemplate>
                <ItemTemplate>
                    <tr style="line-height:30px;">
                        <td style="font-weight:bold; margin-right:5px;">
                            <asp:HiddenField ID="ID" runat="server" Value='<%#Eval("ID")%>'></asp:HiddenField>
                            <%#Eval("Name")%>
                        </td>
                        <td>
                            <asp:RadioButtonList runat="server" Width="400px" ID="rdlist" RepeatDirection="Horizontal" RepeatColumns="4" >
                                <asp:ListItem Text="Không" Value="0"></asp:ListItem>
                                <asp:ListItem Text="Xem" Value="1"></asp:ListItem>
                                <%--<asp:ListItem Text="Edit" Value="3"></asp:ListItem>--%>
                                <asp:ListItem Text="Thêm/sửa/xóa" Value="7"></asp:ListItem>
                            </asp:RadioButtonList>
                            <%--<asp:Repeater ID="rptCols" runat="server">
                            <ItemTemplate>
                                <%# Container.DataItem%>
                            </ItemTemplate>
                        </asp:Repeater>--%>
                        </td>
                    </tr>
                </ItemTemplate>
                <FooterTemplate>
                    </table>
                </FooterTemplate>
            </asp:Repeater>
        </div>
        <asp:Button ID="btnSave" Text="Save" class="button" runat="server" OnClick="btnSave_Click" />
    </div>
    </form>
</body>
</html>
